﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace COVID_19_LiquidFillUI.Migrations
{
    public partial class addmjudgemaxmin : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ST_Dist",
                table: "MJudges",
                newName: "ST_DistMin");

            migrationBuilder.AddColumn<double>(
                name: "ST_DistMax",
                table: "MJudges",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ST_DistMax",
                table: "MJudges");

            migrationBuilder.RenameColumn(
                name: "ST_DistMin",
                table: "MJudges",
                newName: "ST_Dist");
        }
    }
}
